#ifndef NAMINGDIALOG_H
#define NAMINGDIALOG_H
#include "common.h"

class NamingDialog : public QDialog
{
    Q_OBJECT
public:
    NamingDialog(QWidget *parent = nullptr);
    QString getX() const { return xEdit->text(); }
    QString getY() const { return yEdit->text(); }
private:
    QLabel *infolab = new QLabel(QString("请输入点在真实世界坐标:"));
    QLineEdit* xEdit = new QLineEdit();
    QLineEdit* yEdit = new QLineEdit();
    QLabel *xlab = new QLabel(QString("x:"));
    QLabel *ylab = new QLabel(QString("y:"));

};

#endif // NAMINGDIALOG_H
